//
//  BN_UserInfo.h
//  BabyNow
//
//  Created by iMobile on 14-4-2.
//  Copyright (c) 2014年 iMobile. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "BN_BaseJSONRespData.h"

/**
 *  用户信息
 */
@interface BN_UserInfo : BN_BaseJSONRespData<NSCoding>

@property (nonatomic,strong) NSString *account;
@property (nonatomic,strong) NSString *schoId;
@property (nonatomic,strong) NSString *headUrl;
@property (nonatomic,strong) NSString *userId;
@property (nonatomic,strong) NSString *clasId;
@property (nonatomic,strong) NSString *birtDate;
@property (nonatomic,strong) NSString *userName;
@property (nonatomic,strong) NSString *password;
@property (nonatomic,strong) NSString *userType;
@property (nonatomic,strong) NSString *clasName;
@property (nonatomic,strong) NSString *schoName;

/**
 *  初始化方法
 *
 *  @param account   帐户名
 *  @param schoId    学校名
 *  @param headUrl   头像地址
 *  @param userId    用户编号
 *  @param clasId    班级编号
 *  @param birthDate 生日
 *  @param userName  用户姓名
 *  @param password  密码
 *  @param clasName  班级姓名
 *  @param schoName  学校名
 *  @param userType  用户类型
 *
 *  @return 用户信息对象
 */
- (id)initWithAccount:(NSString *)account
               schoId:(NSString *)schoId
              headUrl:(NSString *)headUrl
               userId:(NSString *)userId
               clasId:(NSString *)clasId
            birthData:(NSString *)birthDate
             userName:(NSString *)userName
             password:(NSString *)password
             clasName:(NSString *)clasName
             schoName:(NSString *)schoName
             userType:(NSString *)userType;


/**
 *  基于Json字典对象创建BN_UserInfo对象
 *
 *  @param dict Json字典对象
 *
 *  @return BN_UserInfo对象
 */
- (id)initWithJsonDict:(NSDictionary*)dict;

@end
